@extends('admin/index')
@section('name')

    <h1> <span class="label label-default"> 评论管理  </span> </h1>
    <hr>

        <table class="table table-bordered  table-hover">
              <tr>
                  <th>ID</th>
                  <th>动态ID</th>
                  <th>评论者ID</th>
                  <th>评论时间</th>
                  <th>评论点赞</th>
                  <th>操作</th>
              </tr>
            @foreach($result as $list)
            <tr>
                <td>{{$list->id}}</td>
                <td>{{$list->dc_id}}</td>
                <td>{{$list->name}}</td>
                <th>{{$list->dc_time}}</th>
                <th>{{$list->dc_dz}}</th>
                <td>
                    <a href="/comment_del/{{$list->id}}" class="btn btn-danger">删除</a>
            </tr>
            @endforeach
        </table>
@endsection